package cn.wolfcode.luowowo2.search.service;

import cn.wolfcode.luowowo2.search.query.SearchQueryObject;
import cn.wolfcode.luowowo2.search.template.TravelTemplate;
import org.springframework.data.domain.Page;

/**
 * Created by Albert on 2019/7/15.
 */
public interface ITravelSearchService {
    void createIndex();

    void save(TravelTemplate template);

    Page<TravelTemplate> query(SearchQueryObject qo);
}
